
{% extends 'RSPReseauSocialBundle::layout.html.twig' %}
{% block body %}

                                <h4>Gestion des articles:</h4>
                                 <a href="{{path('RSP_newMessage')}}" Nouveau message  title="Nouveau Article" class="tip">Nouveau message <span class="icon12 icomoon-icon-pencil"></span></a>
                            </div>
                                       
                                    </h4>
                                    <a href="#" class="minimize">Minimize</a>
                                </div>
                               
                                <div class="content noPad">
                                    
<table border='4'class="responsive table table-bordered">
    <thead>
  <tr>
  
    <th>Identifient </th>
    <th>Destinataire</th>
    <th>Designation </th>
    <th id="masterCh" class="ch"><input type="checkbox" name="checkbox" value="all" class="styled" /></th>
    <th>Actions</th>
 </tr>
 </thead>
{% for Message in Messages%}
  <tbody>
    <tr>
       
   <td>{{Message.id_dest}}</td>
   <td> {{Message.id_exp}} </td>
   <td> {{Message.contenu}} </td>
   <td class="chChildren"><input type="checkbox" name="checkbox" value="1" class="styled" /></td>
   <td>
     <div class="controls center">
           
            <a href="{{path('RSP_deleteMessage',{'id':Message.id})}}" title="Supprimer Article" class="tip"><span class="icon12 icomoon-icon-remove"></span></a>
            <a href="{{path('RSP_voirMessage',{'id':Message.id})}}" title="Afficher Article" class="tip"><span class="icon12 icomoon-icon-pencil"></span></a>
     </div>
   
   </td>
   </tr>
   
    </tbody>
{% endfor %}
    </table>
                                        </div>
                                        </div>
                                    </div>
	
        
{% endblock %}
      